package com.book.service;

import com.book.dto.ApplyPage;
import com.book.entity.Apply;
import com.book.utils.ResponseResult;

public interface ApplyService {
    ResponseResult getFirst(int postId,int currentPage,int pageSize);

    ResponseResult getSecond(int postId, int parentApply);

    ResponseResult addApply(Apply apply);

    ResponseResult getSelfApply(ApplyPage applyPage);

    ResponseResult deleteMyApply(int id);

    ResponseResult getApplyMe(ApplyPage applyPage);

    ResponseResult getApplies(ApplyPage applyPage);

    ResponseResult deleteApply(int id);
}
